io.multiReader.readers (field)
16 uses
io (current package)
multi.go#L14: readers []Reader
multi.go#L18: for len(mr.readers) > 0 {
multi.go#L20: if len(mr.readers) == 1 {
multi.go#L21: if r, ok := mr.readers[0].(*multiReader); ok {
multi.go#L22: mr.readers = r.readers
multi.go#L26: n, err = mr.readers[0].Read(p)
multi.go#L30: mr.readers[0] = eofReader{} // permit earlier GC
multi.go#L31: mr.readers = mr.readers[1:]
multi.go#L34: if err == EOF && len(mr.readers) > 0 {
multi.go#L49: for i, r := range mr.readers {
multi.go#L58: mr.readers = mr.readers[i:] // permit resume / retry after error
multi.go#L61: mr.readers[i] = nil // permit early GC
multi.go#L63: mr.readers = nil
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |